]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
TelepathyClient: make chat notifications resident
authorMarina Zhurakhinskaya <marinaz@redhat.com>
Wed, 22 Dec 2010 07:41:11 +0000 (02:41 -0500)
committerMarina Zhurakhinskaya <marinaz@redhat.com>
Wed, 22 Dec 2010 20:27:46 +0000 (15:27 -0500)
This ensures that chat notifications don't get removed from
the message tray when clicked.

https://bugzilla.gnome.org/show_bug.cgi?id=637810

js/ui/telepathyClient.js

index 5b57706e9fefb41ac446347987306c8b8e81f164..cb9a6f6142cf97bfa6942300fc3462bb80dc727f 100644 (file)
@@ -593,6 +593,7 @@ Notification.prototype = {
 
     _init: function(source) {
         MessageTray.Notification.prototype._init.call(this, source, source.title, null, { customContent: true });
+        this.setResident(true);
 
         this._responseEntry = new St.Entry({ style_class: 'chat-response' });
         this._responseEntry.clutter_text.connect('activate', Lang.bind(this, this._onEntryActivated));